package com.itfitness.ftlib.widget.tabview;

/**
 * @ProjectName: FitnessLib
 * @Package: com.itfitness.ftlib.widget.tabview
 * @ClassName: FTabItemBean
 * @Description: java类作用描述 Tab Item实体类
 * @Author: 作者名
 * @CreateDate: 2020/11/22 10:01
 * @UpdateUser: 更新者：itfitness
 * @UpdateDate: 2020/11/22 10:01
 * @UpdateRemark: 更新说明：
 * @Version: 1.0
 */
public class FTabItemBean extends FTabBaseItemBean {
    private String defaultImageUrl;//默认的图片Url
    private String selectedImageUrl;//选中的图片Url
    private Integer defaultImageRes;//默认的图片res资源（优先加载）
    private Integer selectedImageRes;//选中的图片res资源（优先加载）
    private String defaultTabName;//默认的tab名称（没有的话会隐藏显示文字的控件，这样会放大图片控件）
    private String selectedTabName;//选中的tab名称（没有的话会隐藏显示文字的控件，这样会放大图片控件）

    public FTabItemBean(String defaultImageUrl, String selectedImageUrl, String defaultTabName, String selectedTabName) {
        this.defaultImageUrl = defaultImageUrl;
        this.selectedImageUrl = selectedImageUrl;
        this.defaultTabName = defaultTabName;
        this.selectedTabName = selectedTabName;
    }

    public void setDefaultImageUrl(String defaultImageUrl) {
        this.defaultImageUrl = defaultImageUrl;
    }

    public void setSelectedImageUrl(String selectedImageUrl) {
        this.selectedImageUrl = selectedImageUrl;
    }

    public void setDefaultImageRes(Integer defaultImageRes) {
        this.defaultImageRes = defaultImageRes;
    }

    public void setSelectedImageRes(Integer selectedImageRes) {
        this.selectedImageRes = selectedImageRes;
    }

    public void setDefaultTabName(String defaultTabName) {
        this.defaultTabName = defaultTabName;
    }

    public void setSelectedTabName(String selectedTabName) {
        this.selectedTabName = selectedTabName;
    }

    @Override
    public String getDefaultImageUrl() {
        return defaultImageUrl;
    }

    @Override
    public String getSelectedImageUrl() {
        return selectedImageUrl;
    }

    @Override
    public Integer getDefaultImageRes() {
        return defaultImageRes;
    }

    @Override
    public Integer getSelectedImageRes() {
        return selectedImageRes;
    }

    @Override
    public String getDefaultTabName() {
        return defaultTabName;
    }

    @Override
    public String getSelectedTabName() {
        return selectedTabName;
    }
}
